| short: Eingabe eines Wertes |
| de: Ermöglicht dem Benutzer einen numerischen Wert einzugeben |
| en: Enables the user to enter a numeric value |
| name | type | description | bindable | readOnly | required | defaultValue | localizable |
|---|---|---|---|---|---|---|---|
| draggable | Boolean | Make widget draggable. | false | false | false | false | false |
| ellipsis | Boolean | If true, overflow of text is symbolized with an ellipsis. | false | false | false | false | false |
| enable | Boolean | Initial option to enable widget. | true | false | false | true | false |
| format | brease.config.MeasurementSystemFormat | NumberFormat for every measurement system. | true | false | false | {'metric':{ 'decimalPlaces' : 1, 'minimumIntegerDigits' : 1 }, 'imperial' :{ 'decimalPlaces' : 1, 'minimumIntegerDigits' : 1 }, 'imperial-us' :{ 'decimalPlaces' : 1, 'minimumIntegerDigits' : 1 }} | false |
| helpText | String | Text displayed on clipboard box side; | false | false | false | true | |
| keyboard | Boolean | Determines if internal soft keyboard (=NumPad) should open | false | false | false | true | false |
| limitViolationPolicy | brease.enum.LimitViolationPolicy | Controls behavior in case of a limit violation. | false | false | false | noSubmit | false |
| maxValue | Number | Sets the maximum value for the input. If value node binding is used for the value, then this property is overriden by OPC UA max value. | false | false | false | 100 | false |
| minValue | Number | Sets the minimum value for the input. If value node binding is used for the value, then this property is overriden by OPC UA min value. | false | false | false | 0 | false |
| node | brease.datatype.Node | Value with unit for node binding. | true | false | false | false | |
| numPadStyle | StyleReference | Style for the NumPad which is configured in current visualization. References all styles of the brease NumPad and of all custom NumPads. | false | false | false | default | false |
| numpadPosition | brease.enum.Position | Determines the position of the NumPad relative to the input field. | false | false | false | right | false |
| permissionOperate | RoleCollection | restricts operability to users, which have given roles | false | false | false | false | |
| permissionView | RoleCollection | restricts visibility to users, which have given roles | false | false | false | false | |
| scaleFactorUnit | String | Initial visible value for scale atomic factor, unit offset | false | false | false | true | |
| scaleFactorValue | Number | Initial visible value for scale atomic factor | false | false | false | 1 | true |
| showUnit | Boolean | Determines if the unit should be displayed | false | false | false | true | false |
| style | StyleReference | reference to a style for this widget type | true | false | false | default | false |
| submitOnChange | Boolean | Determines if changes, triggered by user input, should be sent immediately to the server. | false | false | false | true | false |
| tabIndex | Integer | sets if a widget should have autofocus enabled (0), the order of the focus (>0), or if autofocus should be disabled (-1) | false | false | false | 0 | false |
| textScaling | String | Text displayed on clipboard box side; | false | false | false | true | |
| tooltip | String | reference to a tooltip for a widget | false | false | false | true | |
| unit | brease.config.MeasurementSystemUnit | unit code for every measurement system | true | false | false | false | |
| unitAlign | brease.enum.ImageAlign | alignment of unit label; supported values ["left"/"right"] | false | false | false | left | false |
| unitTextAlign | brease.enum.TextAlign | Defines the position of the unitText. | false | false | false | center | false |
| unitWidth | Size | Width of unit area. | false | false | false | 0 | false |
| useDigitGrouping | Boolean | Determines if digit grouping should be used | false | false | false | true | false |
| value | Number | Initial visible value of input field as a number | true | false | false | 0 | false |
| visible | Boolean | change visibility | true | false | false | true | false |
| maxHeight | Size | maximum outer height of widget | false | false | false | 0 | false |
| minHeight | Size | minimum outer height of widget | false | false | false | 0 | false |
| maxWidth | Size | maximum outer width of widget | false | false | false | 0 | false |
| minWidth | Size | minimum outer width of widget | false | false | false | 0 | false |
| zIndex | UInteger | The zIndex property specifies the z-order of a widget and its childs. When widgets overlap, z-order determines which one covers the other. A widget with a larger zIndex generally covers a widget with a lower one. The zIndex must be unique within a content. |
false | false | true | false | |
| left | Integer | absolute position measured from left boundary of parent container | false | false | false | false | |
| top | Integer | absolute position measured from top boundary of parent container | false | false | false | false | |
| height | AutoSize | outer height of widget | false | false | false | 30 | false |
| width | AutoSize | outer width of widget | false | false | false | 100 | false |
| name | type | description | defaultValue |
|---|---|---|---|
| borderWidth | PixelValCollection | Sets the border width of the widget. For further information, please see its type |
2px 6px 2px 2px |
| activeBorderWidth | PixelValCollection | Sets the border width of the widget while writing in. For further information, please see its type |
2px 6px 2px 2px |
| disabledBorderWidth | PixelValCollection | Sets the border width of the widget when disbaled. For further information, please see its type |
2px 6px 2px 2px |
| cornerRadius | PixelValCollection | Sets the radius of the widget rounded corners. For further information, please see its type |
0px |
| backColor | Color | Sets the background color of the widget |
#FFFFFF |
| disabledBackColor | Color | Sets the background color of the widget when disabled |
#F1F1F1 |
| backGroundGradient | Gradient | Background as a gradient |
|
| disabledBackGroundGradient | Gradient | Background as a gradient |
|
| borderColor | ColorCollection | Sets the border color of the widget. For further information, please see its type |
#555555 |
| disabledBorderColor | ColorCollection | Sets the border color of the widget when disabled. For further information, please see its type |
#C8C8C8 |
| activeBorderColor | ColorCollection | Sets the border color of the widget while writing in. For further information, please see its type |
#FF8800 |
| activeBackColor | Color | Sets the background color of the widget while writing in |
#F1F1F1 |
| activeTextColor | Color | Sets the color of the displayed text while writing |
#000000 |
| borderStyle | BorderStyle | Sets the border style of the widget. For further information, please see its type |
solid |
| textColor | Color | Sets the color of the displayed text |
#000000 |
| disabledTextColor | Color | Sets the color of the displayed text when the widget is disabled |
#C8C8C8 |
| textAlign | brease.enum.TextAlign | Sets the alignment of the displayed text. For further information, please see its type |
right |
| opacity | Opacity | Sets the opacity of the widget |
1 |
| fontName | FontName | Sets the font name of the displayed text |
Arial |
| fontSize | PixelVal | Sets the font size of the displayed text |
20px |
| unitFontSize | PixelVal | Sets the font size of the possible unit displayed |
14px |
| rotation | Rotation | Sets the rotation of the widget with respect to its center. Positive values for clockwise direction |
0deg |
| bold | Boolean | Sets the bold property of the displayed text |
true |
| italic | Boolean | Sets the italic property of the displayed text |
false |
| shadow | Shadow | Sets the shadow effect of the widget. For further information, please see its type |
none |
| padding | Padding | Sets a space around the displayed text. For further information, please see its type |
0 15px 0 15px |
| margin | Margin | Sets a space around the widget. For further information, please see its type |
0px |